<%@page pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>

<%@page import="utoday.model.Setting" %>

<%
Setting settingInfo = new Setting();
request.setAttribute("settingInfo",settingInfo);
%>

<html>
	<head>
	<%@ include file="common/head.jsp" %>
	</head>
<script><!--

function goSetPage() {
	document.indexForm.submit();
}

//--></script>
	<body>
	<form name="indexForm" method="post" action="showSetting">


<br><br>
<mainMenu>●今日の天気　</mainMenu><input type="image" src="img/b_setting.gif" alt="setting" onClick="goSetPage()"><br>
	<mainContent>
		<c:if test="${settingInfo.city != null}">
			<c:out value="${settingInfo.city}"/>
		</c:if>
		<c:if test="${settingInfo.city == null}">
			地域情報が設定されておりません。
		</c:if>
	</mainContent>
	<br><br>
<mainMenu>●今日の1行ニュース　</mainMenu><img src="img/b_setting.gif"><br>
	<mainContent>test</mainContent><br><br>
<mainMenu>●今日の占い　</mainMenu><img src="img/b_setting.gif"><br>
	<mainContent>test</mainContent><br><br>
<mainMenu>●今日のグルメ　</mainMenu><img src="img/b_setting.gif"><br>
	<mainContent>test</mainContent><br><br>

<%@ include file="common/foot.jsp" %>

	</form>
	</body>
</html>
